]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
power: Fix typo
authorBastien Nocera <hadess@hadess.net>
Thu, 17 Oct 2013 16:11:06 +0000 (18:11 +0200)
committerBastien Nocera <hadess@hadess.net>
Thu, 17 Oct 2013 16:12:02 +0000 (18:12 +0200)
JS ERROR: ReferenceError: this_proxy is not defined
Indicator<._getStatus@/usr/share/gnome-shell/js/ui/status/power.js:66

js/ui/status/power.js

index eda8c01e35b3031c43924c60ed25d9f68cdd889b..69a8d20e0acb2e2ef23d18eecc6f407333e5a267 100644 (file)
@@ -63,7 +63,7 @@ const Indicator = new Lang.Class({
             return _("Fully Charged");
         else if (this._proxy.State == UPower.DeviceState.CHARGING)
             seconds = this._proxy.TimeToFull;
-        else if (this_proxy.State == UPower.DeviceState.DISCHARGING)
+        else if (this._proxy.State == UPower.DeviceState.DISCHARGING)
             seconds = this._proxy.TimeToEmpty;
         // state is one of PENDING_CHARGING, PENDING_DISCHARGING
         else